package com.x.ant.json;

import io.searchbox.annotations.JestId;

public class Folk {
	@JestId
	private Integer id;
	private String name;
	
	public Folk(Integer id, String name) {
		this.id = id;
		this.name = name;
	}

	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}


	@Override
	public String toString() {
		return "Folk [id=" + id + ", name=" + name + "]";
	}
}
